package xcmg.device.dao.entity.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 转包单head表 实体类 --表 T_SUBCONTRACTING_ORDER
 */
@ToString
@Data
@ApiModel(value = "SubcontractingOrder", description = "转包单head表")
public class SubcontractingOrderDO implements Serializable {
    private static final long serialVersionUID = -1L;
    //转包单ID，主键(ID)
    @ApiModelProperty(value = "转包单ID，主键", name = "id")
    private String id;
    //转包单号码(CODE)
    @ApiModelProperty(value = "转包单号码", name = "code")
    private String code;
    //订单ID(ORDER_ID)
    @ApiModelProperty(value = "订单ID", name = "orderId")
    private Long orderId;
    //订单号码(ORDER_NO)
    @ApiModelProperty(value = "订单号码", name = "orderNo")
    private String orderNo;
    //到货工厂(FACTORY)
    @ApiModelProperty(value = "到货工厂", name = "factory")
    private String factory;
    //订单类型(ORDER_TYPE)
    @ApiModelProperty(value = "订单类型", name = "orderType")
    private String orderType;
    //供应商代码(SUPPLIER_NO)
    @ApiModelProperty(value = "供应商代码", name = "supplierNo")
    private String supplierNo;
    @ApiModelProperty(value = "供应商名称", name = "supplierName")
    private String supplierName;
    //交货日期(ARRIVE_DATE)
    @ApiModelProperty(value = "交货日期", name = "arriveDate")
    private Date arriveDate;
    //出货地代码(SUP_PLACE_NO)
    @ApiModelProperty(value = "出货地代码", name = "supPlaceNo")
    private String supPlaceNo;
    //订单时间(ORDER_DATE)
    @ApiModelProperty(value = "订单时间", name = "orderDate")
    private Date orderDate;

    @ApiModelProperty(value = "供应商组织ID", name = "supplierOrgId")
    private String supplierOrgId;
    //组织ID(ORG_ID)
    @ApiModelProperty(value = "组织ID", name = "orgId")
    private String orgId;
    //转包单状态
    @ApiModelProperty(value = "转包单状态,0创建  1入库部分完成 2入库完成   3部分出库  4出库完成 5:强制结单", name = "state")
    private Integer state;
    @ApiModelProperty(value="发货状态,0未创建  1已经创建发货单",name="deliveryState")
    private Integer deliveryState;
    @ApiModelProperty(value = "入库时间", name = "inTime")
    private Date inTime;
    @ApiModelProperty(value = "出库库时间", name = "outTime")
    private Date outTime;
    //新增时间(CREATED_TIME)
    @ApiModelProperty(value = "新增时间", name = "createdTime")
    private Date createdTime;
    //更新时间(UPDATED_TIME)
    @ApiModelProperty(value = "更新时间", name = "updatedTime")
    private Date updatedTime;
    @ApiModelProperty(value="更新人",name="updateId")
    private String updateId;

    //仓库(WAREHOUSE_CODE)
    @ApiModelProperty(value="仓库",name="warehouseCode")
    private String warehouseCode;
    //库区(AREA_CODE)
    @ApiModelProperty(value="库区",name="areaCode")
    private String areaCode;
    //储位(LOCATION_CODE)
    @ApiModelProperty(value="储位",name="locationCode")
    private String locationCode;
}
